package com.qfedu.edu.service.auto;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiaobobo
 * @title: JwtTokenServiceProperties
 * @projectName cd-fy-2401-third-project-parent
 * @description: 这个类的主要功能是将框架可修改的参数抽取出来
 * @date 2024/9/13  15:34
 */
@ConfigurationProperties(prefix = "jwt.token.config")
public class JwtTokenServiceProperties {

    //签名
    private String sign;

    //过期时间
    private Integer expire=30;

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Integer getExpire() {
        return expire;
    }

    public void setExpire(Integer expire) {
        this.expire = expire;
    }
}
